﻿using MediatR;
using SCM.Domain;
using SCM.ErrorCode;

namespace SCM.API.Read.Application.Command.SaleRefund
{
    public class GetSaleRefundCommand : IRequest<APIResult<SaleRefundModel>>
    {
        /// <summary>
        /// 销售单号
        /// </summary>
        public string? SaleId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? State { get; set; }
        /// <summary>
        /// 退货单号
        /// </summary>
        public string? SaleRefundNum { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 当前第几页
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 15;

    }
}
